// 订单中心
export const ORDER_CENTER = '/guoke-deepexi-dms-order-center/api/v1'

// 寄售销售采购新建
export const settleSave = ORDER_CENTER + '/settle/OdcSettleOrder/save'
// 寄售销售(采购)结算单详情
export const saleUpDetail = ORDER_CENTER + '/settle/OdcSettleOrder/getById'
// 结算管理寄售销售（采购）编辑
export const settleUpdate = ORDER_CENTER + '/settle/OdcSettleOrder/update'
// 寄售销售(采购)结算单详情(分页数据)
export const saleDownDetail =
  ORDER_CENTER + '/settle/OdcSettleOrderItem/pageList'
// -应收-批发寄售结算单状态统计
export const receivableOrderStatusStatistics =
  ORDER_CENTER + '/pay/OdcPayOrder/receivableOrderStatusStatistics'
// 寄售销售(采购)结算单日志记录列表
export const settleOrderLog = ORDER_CENTER + '/settle/OdcSettleOrderLog/getById'
// 寄售销售(采购)结算列表
export const settlementList = ORDER_CENTER + '/settle/OdcSettleOrder/pageList'
// 寄售结算单取消
export const cancelSettleOrder =
  ORDER_CENTER + '/settle/OdcSettleOrder/auditCancel'
// 寄售采购tab切换状态数量
export const stateCountData = ORDER_CENTER + '/settle/OdcSettleOrder/stateCount'
// 寄售结算单经销商审核驳回
export const auditRefuse =
  ORDER_CENTER + '/settle/OdcSettleOrder/auditRefuseById'
//  寄售结算单经销商审核通过
export const auditPass =
  ORDER_CENTER + '/settle/OdcSettleOrder/auditPassAndCreat'
// 寄售销售结算列表编辑发票号
export const updateInvoiceNum =
  ORDER_CENTER + '/settle/OdcSettleOrder/updateInvoiceById'
// 财务管理-应收应付查询列表
export const payReceivableList = ORDER_CENTER + '/pay/OdcPayOrder/pageList'
// 财务管理-确定
export const OdcPayOrdersubmitById =
  ORDER_CENTER + '/pay/OdcPayOrder/submitById'
// 财务管理-应收应付详情-基础信息
export const payReceivableInfo = ORDER_CENTER + '/pay/OdcPayOrder/getById'
// 财务管理-应收应付详情-产品明细
export const OdcPayOrderItemList =
  ORDER_CENTER + '/pay/OdcPayOrderItem/pageList'
// 财务管理-应收应付详情-支付记录
export const payReceivableHistory =
  ORDER_CENTER + '/pay/OdcPaymentHistory/getById'
// 财务管理-应收应付详情-添加支付记录
export const addPayReceivable =
  ORDER_CENTER + '/pay/OdcPaymentHistory/savePaymentHistory'
// 原厂dms 上报报台
export const saleFcfollowList = ORDER_CENTER + '/sale/fcfollowList'
// 上报报台查看详情
export const saleFollowItem = ORDER_CENTER + '/sale/followItem'
// 上报报台查看日志
export const saleOdcSaleOrderLogLog = ORDER_CENTER + '/sale/OdcSaleOrderLog/log'
// 销售管理-销售订单跟踪-长期寄售订单跟踪
export const saleOrderList = ORDER_CENTER + '/sale/OdcSaleOrderOs/orderList'
// 销售管理-订单跟踪-寄售跟台订单数量
export const saleOrderStatusCount =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/stateCount'
// 订单管理-查看寄售订单详情/审核页面
export const saleOrderDetail = ORDER_CENTER + '/sale/OdcSaleOrderOs/orderItem'
// 销售管理-订单跟踪-确认寄售销售订单
export const saleConsignmentOrderConfirm =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/saleOrderConfirm'
// 订单管理-寄售采购、寄售销售、跟台销售操作记录
export const saleOperateRecord = ORDER_CENTER + '/sale/OdcSaleOrderLogOs/log'
// 销售管理-订单跟踪-创建销售退货单
export const createOrderReturn =
  ORDER_CENTER + '/returnGoods/OdcReturnOrder/save'
// 销售管理-销售订单跟踪-跟台订单跟踪
export const saleFollowList = ORDER_CENTER + '/sale/followList'
// 销售管理-订单跟踪-跟台订单详情
export const followOrderDetail = ORDER_CENTER + '/sale/followItem'
// 销售管理-订单跟踪-跟台订单术后退回
export const returnAfterOperate = ORDER_CENTER + '/sale/operateAfterCheck'
// 销售管理-订单跟踪-跟台订单确认
export const followOrderCheck = ORDER_CENTER + '/sale/followCheck'
// 订单管理-查看批发采购/寄售采购（寄售销售）订单详情/审核页面
export const orderDetail =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/orderItem'
// 销售管理-订单跟踪-确认批发销售订单
export const saleWholesaleOrderConfirm =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/purchaseOrderConfirm'
// 销售管理-销售订单跟踪-批发订单跟踪
export const purchaseOrderList =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/orderList'
// 销售管理-订单跟踪-批发销售订单详情
export const orderDetailPage =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/orderItemPageList'
// 销售管理-寄售销售单管理-订单列表
export const consignmentOrderList =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/orderList'
// 销售管理-订单跟踪-长期寄售销售订单分页
export const saleConsignmentOrderPage =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/orderItemPageList'
// 订单管理-寄售需求订单/寄售补货需求订单列表
export const orderStatusCount =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/statusCount'
// 订单管理-批发采购订单编辑发票号
export const editInvoiceNo =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/invoice'
// 订单管理-批发采购批发销售详情的操作记录
export const operateRecord =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderLogOs/log'
// 创建寄售需求订单/跟台订单
export const createSaleOrder =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/createSaleOrder'
// 创建批发订单 - 销售
export const createPurchaseOrder =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/createPurchaseOrder'
// 销售管理-寄售销售订单列表
export const orderList = ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/orderList'
// 销售管理-寄售订单管理-寄售单 订单详情
export const consignOrderDetail =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/saleOne'
// 销售管理-寄售订单管理-寄售单 产品详情
export const consignProductDetail =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderItemOs/saleItem'
// 补货单列表
export const receiptOrderList = ORDER_CENTER + '/replenish/OdcRepOrder/pageList'
// 不同状态补货单数量
export const receiptStateCount =
  ORDER_CENTER + '/replenish/OdcRepOrder/stateCount'
// 补货单详情
export const receiptOrderDetail =
  ORDER_CENTER + '/replenish/OdcRepOrderItem/getById'
// 退货单管理-退货列表
export const returnOrderList =
  ORDER_CENTER + '/returnGoods/OdcReturnOrder/pageList'
// 确认退货单
export const confirmReturn =
  ORDER_CENTER + '/returnGoods/OdcReturnOrder/passAndCreatReplenish'
// 不同状态退货单数量
export const stateCount =
  ORDER_CENTER + '/returnGoods/OdcReturnOrder/stateCount'
// 退货单详情
export const returnOrderDetail =
  ORDER_CENTER + '/returnGoods/OdcReturnOrderItem/getOrderItemById'

// 寄售销售结算单列表
export const odcSettleOrderPageList =
  ORDER_CENTER + '/settle/OdcSettleOrder/pageList'
//V1.9-确认添加产品
export const OSAddProductWholesale =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/addOrder'
  //V1.9-批发销售删除产品
export const OSDeleteProductWholesale =
ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/delProduct'
//V1.9-批发销售单所选产品列表
export const OSProductlistWholesale =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/productList'
//V1.9-批发销售修改数量
export const OSUpdateNumWholesale =
ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/updateNumber'
//V1.9-寄售销售单所选产品分类
export const OSclassifyListConsignment =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/classifyList'
//V1.9-批发销售单修改价格
export const OSUpdatePriceWholesale =
  ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/updatePrice'
  //V1.9-批发销售单所选产品分类
export const OSclassifyListWholesale =
ORDER_CENTER + '/purchase/OdcPurchaseOrderOs/classifyList'
//V1.9-寄售销售单添加产品
export const OSAddProductConsignment =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/addOrder'
  //V1.9-寄售销售单删除产品
export const OSDeleteProductConsignment =
ORDER_CENTER + '/sale/OdcSaleOrderOs/delProduct'
//V1.9-寄售销售单所选产品列表
export const OSProductlistConsignment =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/productList'
//V1.9-寄售销售单修改数量
export const OSUpdateNumConsignment =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/updateNumber'
//V1.9-寄售销售单修改价格
export const OSUpdatePriceConsignment =
  ORDER_CENTER + '/sale/OdcSaleOrderOs/updatePrice'

//查询区域接口
export const getAreaTypeList =
ORDER_CENTER + '/common/MConfigRegionType/pageList'
//查询区域配置列表接口
export const getAreaList =
ORDER_CENTER + '/common/MConfigRegion/pageList'
//区域配置列表删除接口
export const deleteAreaItem =
ORDER_CENTER + '/common/MConfigRegion/delete'
//区域下对应的所有销售人员列表
export const regionUserList =
ORDER_CENTER + '/common/MRegionUser/pageList'
//新增区域
export const saveRegion =
ORDER_CENTER + '/common/MConfigRegion/save'
//更新销售人员信息
export const updateRegionUser =
ORDER_CENTER + '/common/MRegionUser/update'
//删除销售人员信息
export const deleteRegionUser =
ORDER_CENTER + '/common/MRegionUser/delete'
//查询区域配置列表接口
export const getHospitalAreaList =
ORDER_CENTER + '/common/MRegionUser/list'
//人员与医院关系列表接口
export const getHospitalAndUserList =
ORDER_CENTER + '/common/MRegionUserHosp/pageList'
//获取销售人员list
export const getUserList =
ORDER_CENTER + '/common/MRegionUser/pageUserList'
//查询销售区域
export const getSaleRegion =
ORDER_CENTER + '/common/MConfigRegion/getSaleRegion'
//批量修改分销售员
export const updateUserBatch =
ORDER_CENTER + '/common/MRegionUser/updateUserBatch'
//经销商联想
export const getDistributorByName =
ORDER_CENTER + '/common/MRegionUserHospDistributor/getDistributorByName'
//查询医院分配列表
export const pageHostList =
ORDER_CENTER + '/common/MRegionUserHosp/pageHostList'
//批量修改分配医院
export const updateHospUserBatch =
ORDER_CENTER + '/common/MRegionUserHosp/updateHospUserBatch'
//删除人员与医院关系接口
export const regionUserHospDelete =
ORDER_CENTER + '/common/MRegionUserHosp/delete'
//绑定经销商
export const regionUserHospDistributorSave =
ORDER_CENTER + '/common/MRegionUserHospDistributor/save'
